package com.aigou.admin.entity;

public class OrderProduct {
    private String id;
    private String order_id;
    private String product_id;
    private int product_num;

    public OrderProduct() {
    }

    public OrderProduct(String id, String order_id, String product_id, int product_num) {
        this.id = id;
        this.order_id = order_id;
        this.product_id = product_id;
        this.product_num = product_num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public int getProduct_num() {
        return product_num;
    }

    public void setProduct_num(int product_num) {
        this.product_num = product_num;
    }

    @Override
    public String toString() {
        return "OrderProduct{" +
                "id='" + id + '\'' +
                ", order_id='" + order_id + '\'' +
                ", product_id='" + product_id + '\'' +
                ", product_num=" + product_num +
                '}';
    }
}
